package cluster;

public class ClusterLink implements Comparable<ClusterLink> {
	public Cluster cl;
	public int num;
	public float goodness;

	public ClusterLink( Cluster cl, int num, float goodness ) {
		this.cl = cl;
		this.num = num;
		this.goodness = goodness;
	}

	public int compareTo( ClusterLink another ) {
		return Float.compare( this.goodness,another.goodness);
	}
}
